package com.tengju.bff.interfaces.covercharge.entity;

import com.tengju.bff.interfaces.covercharge.entity.dto.CycleAddInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author shiliang
 * @date 2020.06.18 20:22
 * @description 消息体
 */
@Data
public class RabbitMqMessage implements Serializable {

    /**监听topic*/
    private String topic;
    /**监听topic*/
    private String routeKey;
    /**消息id*/
    private String messageId;
    /**消息体*/
    private Object messageBody;
    /**消息体*/
    private CycleAddInfo cycleAddInfo;
    /**消息重复次数*/
    private Integer num;
    /**创建时间*/
    private Date createTime;
    /**更新时间*/
    private Date updateTime;

}
